﻿using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using ZFBActivation.Core;
using ZFBActivation.Model;

namespace ZFBActivation
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : HandyControl.Controls.Window
    {
        protected MainWindowModel m_model;
        public MainWindow() {
            m_model = new MainWindowModel();
            this.DataContext = m_model;
            InitializeComponent();

            this.Loaded += (s, e) => {
                m_model.Init();
            };
        }
    }
}